﻿<phone:PhoneApplicationPage
    x:Class="MultiMedia.VDOPlayer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="PortraitOrLandscape" Orientation="Portrait"
    mc:Ignorable="d">
	<phone:PhoneApplicationPage.ApplicationBar>
		<shell:ApplicationBar Mode="Minimized">
			<shell:ApplicationBar.MenuItems>
				<shell:ApplicationBarMenuItem Text="setting"/>
				<shell:ApplicationBarMenuItem Text="about"/>
			</shell:ApplicationBar.MenuItems>
			<shell:ApplicationBarIconButton x:Name="playMedia" IconUri="/Assets1/AppBar/transport.play.png" Text="play" Click="playMedia_Click"/>
			<shell:ApplicationBarIconButton x:Name="pauseMedia" IconUri="/Assets2/AppBar/transport.pause.png" Text="pause" Click="pauseMedia_Click"/>
			<shell:ApplicationBarIconButton x:Name="stopMedia" IconUri="/Assets3/AppBar/close.png" Text="stop" Click="stopMedia_Click"/>
			<shell:ApplicationBarIconButton x:Name="muteMedia" IconUri="appbar_button.png" Text="mute" Click="muteMedia_Click"/>
		</shell:ApplicationBar>
	</phone:PhoneApplicationPage.ApplicationBar>
	<Grid>
		<MediaElement x:Name="media"  Source="/Videos/maboy.mp4" AutoPlay="False" Volume="1"/>
	</Grid>

    <!--LayoutRoot is the root grid where all page content is placed-->

</phone:PhoneApplicationPage>